package com.baor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("t_distributor")
public class DistributorVo {
    /** 分销商管理 */
    @TableId(type = IdType.AUTO)
    private Integer distributorId;

    /** 分销用户 */
    private String userId;

    /** 当前佣金 */
    @TableField(exist = false)
    private BigDecimal totalDistribution;

    /** 已提现佣金 */
    private BigDecimal  backDistribution;

    /** 分销编码 */

    private String distributiorCode;

    /** 是否冻结 */

    private String distributiorStatus;//IF_TRUE

    /** 分销商等级 */

    private String distributionLevelId;

    /** $column.columnComment */
    private String siteId;

    private String createTime;


    @TableField(exist = false)
    private String userName;

    /** 分销上级 */
    @TableField(exist = false)
    private String distributiorSuperior;

    @TableField(exist = false)
    private String phone;

    @TableField(exist = false)
    private String distributorLevelName;
}
